<%@ page contentType="text/html; charset=utf-8" language="java"%>

<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>日志列表</title>

		<link href="style/global.css" rel="stylesheet" type="text/css" />
		<link href="style/style.css" rel="stylesheet" type="text/css" />
		<sx:head />
		<script type="text/javascript" src="javascript/jquery-1.4.min.js"></script>
		<sx:head />



		<script type="text/javascript" src="tiny_mce/tiny_mce.js"></script>

		<script type="text/javascript">
tinyMCE.init({
	theme : "advanced",
	mode : "textareas",
	plugins : "fullpage",
	theme_advanced_buttons3_add : "fullpage",
	accessibility_warnings : false,
	dialog_type : "modal",
	theme_advanced_text_colors : "FF00FF,FFFF00,000000"
});
$().ready(function()
{

$("#mostrar").click(function(event) {
$("#caja").slideToggle();
$(":hidden").val('${voice}');
//return false;
});
});
</script>

		<style type="text/css">
<!--
#caja {
	display: none;

}

.caja1 {
	display: block;
}

#mostrar {
	display: block;
	width: 70%;
	padding: 5px;
	border: 2px solid #D0E8F4;
	background-color:#BBFFBB;
	font-size: 20px;
	font-weight: bold;
	font-color:#2F0000 ;
}

#middle {
	border: 1px #cccccc solid;
	width: 1080px;
}

-->
</style>
	</head>
	<body>
		<div id="userhomelayer" align="center">
			<div id="top"><%@include file="top.jsp"%></div>
			<div id="middle">
				<div id="blogLayer">
					<br />
					<table width="622" border="1" align="center" bgcolor="#84C1FF"
						class="loginStyle">
						<tr>
							<td height="34" width="100%" class="style2" align="left"
								valign="middle">
								<span class="style7">编辑日志</span>
							</td>
						</tr>
						<tr>
							<td>
								<form name="inputForm"
									action="/blog/editBlog.action?articleId=${blog.articleId}"
									method="post" onsubmit="return validateArticle()">
									<table width="100%" border="1">
										<tr>
											<td>
												标题：
												<input type="text" name="articleTitle" id="articleTitle"
													size="80" value="${blog.articleTitle }" />
											</td>
										</tr>
										<tr>
											<td>
												<textarea name="articleContent" id="articleContent"
													cols="80" rows="20" value="${blog.articleContent}"></textarea>


											</td>
										</tr>

                                      <tr>
											<td align="center">
												<p id="mostrar" >
													更改语音
												</p>
												<input type="hidden" name="voice" value="" />
												<div id="caja">
													<object
														classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
														id="musicplayer" width="300" height="80"
														codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
														<param name="movie" value="test.swf" />
														<param name="quality" value="high" />
														<param name="bgcolor" value="#869ca7" />
														<param name="allowScriptAccess" value="sameDomain" />
														<param name="FlashVars" value="s=localhost&o=${voice}" />
														<embed src="test.swf" quality="high" bgcolor="#869ca7"
															width="386" height="198" name="musicplayer1"
															align="middle" play="true" loop="false" quality="high"
															allowScriptAccess="sameDomain"
															type="application/x-shockwave-flash"
															pluginspage="http://www.adobe.com/go/getflashplayer"
															FlashVars="a=dotcom">
														</embed>
													</object>
												</div>
											</td>
										</tr>
										<tr>
											<td height="30">
												<input type="submit" name="Submit" value="保存"
													class="loginStyle" />
											</td>
										</tr>
									</table>
								</form>
							</td>
						</tr>
					</table>

					<!--					<div id="blogLayerRight">-->
					<!--						<c:if test="${blogUser.account==user.account}">-->
					<!--							<div align="center">-->
					<!--								<a href="/blog/addBlog.jsp"><span>写新日志</span> </a>-->
					<!--							</div>-->
					<!--						</c:if>-->
					<!---->
					<!--						<div id="blogLayerRightList">-->
					<!--							<table width="200" border="0">-->
					<!--								<tr>-->
					<!--									<td>-->
					<!--										<img src="UploadImages/${user.headImage}" height="100px" width="120px" />-->
					<!--									</td>-->
					<!--								<tr>-->
					<!--							-->
					<!--							-->
					<!--							</table>-->
					<!--						</div>-->
					<!--					</div>-->
				</div>
			</div>
		</div>
		<div id="bottom1"><%@include file="bottom.jsp"%></div>
	</body>
</html>

